package checkpackage;

import javabean.Project;

public class Checkpro extends Check{
    public boolean checkEmpty(Project pro){
       	if( pro.getProNAME() != null && pro.getProEEND() != null && pro.getProESTART() != null && pro.getEmpID() != null) 
    		return false;
    	return true;
    }
    
    public boolean checkWriter(Project pro, String empID){
    	if(empID == pro.getEmpID())
    		return true;
    	else
    		return false;
    }
}